<div class="admin_form">
	<div class="page-header">
		<h1><?= $this->output->title() ?></h1>
	</div>
	<?php
		$hiddens = array(
			'id'=>$item->id,
		);
	?>
	<?= formOpenMultipart(site_url('admin/menu/form'.($item->id? '/'.$item->id : ''))) ?>
		<?= inputmodal_row('uri', $item->uri_modal, lang('type'), array(siteUrl('admin/category/index/?modal=1')=>lang('category'), siteUrl('admin/post/index/?modal=1')=>lang('post'))) ?>
		<?= input_row('title', $item->title, lang('title')) ?>
		<?= radios_row('published', array(lang('no'), lang('yes')), $item->published, lang('published')) ?>
		<?= dropdown_row('parent_id', $parent, $item->parent_id, lang('menu_parent')) ?>
		<?= input_row('tag', $item->tag, lang('tag')) ?>
		<?= textarea_row('description', $item->description, lang('description')) ?>
		<?php $buttons = array();
			$buttons[] = formButton(array('type'=>'submit', 'class'=>'btn btn-primary'), lang('submit'));
			$buttons[] = formButton(array('type'=>'reset'), lang('reset'));
		?>
		<?= buttons_row($buttons); ?>
		<?= formHidden('id', $item->id); ?>
	<?= formClose() ?>
</div>